//
//  CLMethodInvokeViewController.m
//  Charles
//
//  Created by Charles on 2019/7/8.
//  Copyright © 2019 charles. All rights reserved.
//

#import "CLMethodInvokeViewController.h"
#import "NSInvocationTest.h"
#import "PerformSelectorTest.h"

@interface CLMethodInvokeViewController ()

@end

@implementation CLMethodInvokeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // 消息调用测试
    [NSInvocationTest testInvocation];
    NSInvocationTest *invocationTest = [[NSInvocationTest alloc]init];
    [invocationTest testInvocationArgumentsReturnValue];
    
    PerformSelectorTest *performSelector = [[PerformSelectorTest alloc]init];
    [performSelector testSubThreadInvokePerfromSelector];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
